﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LOMM3API;
using System.Windows.Media.Imaging;
using System.IO;
using System.Drawing.Imaging;

namespace GameLOTRO
{
    [LOMMGame("LOTRO", ShellVersion=3)]
    public class LOTRO : LOMMGame
    {
        public LOTRO()
        {
            Name = "LOTRO";
            Description = "Lord of the Rings Online";

            MemoryStream ms = new MemoryStream();
            GameLOTRO.Properties.Resources.LOTROIcon.Save(ms, ImageFormat.Png);
            Icon = new BitmapImage();
            Icon.BeginInit();
                Icon.StreamSource = new MemoryStream(ms.ToArray());
            Icon.EndInit();
        }

        public override bool SaveCommands()
        {
            return true;
        }
        public override IEnumerable<GameCommand> LoadCommands()
        {
            return null;
        }

        public override IEnumerable<string> Initialize()
        {
            yield return "Initialized";
        }
    }
}
